const mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel application. By default, we are compiling the Sass
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/js/index/index.js', 'public/js/index/')
    .vue()
    .sass('resources/sass/index/index.scss', 'public/css/index/');
mix.js('resources/js/admin/admin.js', 'public/js/admin/')
    .vue()
    .sass('resources/sass/admin/admin.scss', 'public/css/admin/');
mix.js('resources/js/common/common.js', 'public/js/common/')
    .vue()
    .sass('resources/sass/common/common.scss', 'public/css/common/');
